This document describes the entire process of running the adaptive following controller with vision based Localization locally on the Gumstix Overo.
You will begin by logging into the Overo with ssh 5 times. In the first connection you will want to run roscore. In the second, you will run the irobot create driver. In the third, you will run the adaptive following controller. In the fourth, youi will run the vision based localization node. In the fifth, you will run rosbag to record your data. You will want to enter these commands but not run them just yet.
Open three terminal tabs. In the first tab, you will run roscore. In the second, you will roslaunch vicon and the leader robot controller (Modify the ~/hydro_ws/src/adaptive_following/launch/adaptive_following.launch file to use the robots you are using). In the third, you will run rosbag. You will want to enter these commands but not run them just yet.
Execute the commands in this order:
Once you are ready to end the test end the rosbags first then end the rest in any order you wish. Copy the test files into a folder under the ~/Tests directory. You can then use the bagtocsv utility to extract the important information.